Crowdsignal_Forms\Gateways\Api_Gateway S

Total Complexity 47
Dependencies 6
Dependents 1
Total lines 538
Lines of code 276
Logical lines of code 113
Comment lines 184
Methods 19
Properties 0

Methods 19

Method Rating Maintainability Complexity Lines of code
create_or_update_poll()
S
44 5 55
get_account_info()
S
54 6 20
perform_request()
S
50 5 27
get_poll_results()
S
57 4 16
handle_api_response()
S
59 4 14
update_nps()
S
52 3 27
update_feedback()
S
52 3 27
update_feedback_response()
S
54 2 25
update_nps_response()
S
54 2 25
get_capabilities()
S
71 2 6
is_poll_response_valid()
S
78 2 3
get_is_user_verified()
S
70 2 6
get_poll()
S
72 1 5
unarchive_poll()
S
74 1 4
archive_poll()
S
74 1 4
update_poll()
S
80 1 3
create_poll()
S
80 1 3
log_webservice_event()
S
79 1 3
get_polls()
S
82 1 3